
# 分治法   数据结构和算法
# for i in range(1, 6):
#     for j in range(i):
#         print('*', end=' ')
#     print()

i = 1
while i <= 5:
    j = 0
    while j < i:
        print('*', end=' ')
        j = j + 1
    i = i + 1
    print()
